libphonenumber\NumberFormat S

Total Complexity 40
Dependencies 1
Dependents 2
Total lines 241
Lines of code 142
Logical lines of code 79
Comment lines 15
Methods 25
Properties 11

Methods 25

Method Rating Maintainability Complexity Lines of code
mergeFrom()
S
54 7 22
fromArray()
S
57 7 16
toArray()
S
58 4 16
clear()
S
60 1 14
setDomesticCarrierCodeFormattingRule()
S
74 1 5
getDomesticCarrierCodeFormattingRule()
S
82 1 3
hasDomesticCarrierCodeFormattingRule()
S
82 1 3
clearNationalPrefixFormattingRule()
S
77 1 4
setNationalPrefixFormattingRule()
S
74 1 5
getNationalPrefixFormattingRule()
S
82 1 3
hasNationalPrefixFormattingRule()
S
82 1 3
addLeadingDigitsPattern()
S
76 1 4
__construct()
S
82 1 3
getLeadingDigitsPattern()
S
80 1 3
leadingDigitPatterns()
S
82 1 3
setFormat()
S
74 1 5
getFormat()
S
82 1 3
hasFormat()
S
82 1 3
setNationalPrefixOptionalWhenFormatting()
S
77 1 4
getNationalPrefixOptionalWhenFormatting()
S
82 1 3
hasNationalPrefixOptionalWhenFormatting()
S
82 1 3
setPattern()
S
74 1 5
getPattern()
S
82 1 3
hasPattern()
S
82 1 3
leadingDigitsPatternSize()
S
80 1 3